第1步:让我们从告诉用户游戏规则开始。

  • 点击 ,并拖出 Say
  • 将.say() 前面的名称更改为 tim
  • .say() 中的字符串更改为 "Ask me a question, any question!"
  • Wait 拖动到程序底部。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)